package com.tonglukuaijian.survey.jsonrpc.survey;

import java.util.Map;

import com.googlecode.jsonrpc4j.JsonRpcMethod;
import com.googlecode.jsonrpc4j.JsonRpcParam;
import com.googlecode.jsonrpc4j.JsonRpcService;

public interface WemobilRemoteControl {

	 /**
    * RPC routine to create a session key.
    * Using this function you can create a new XML/JSON-RPC session key.
    * This is mandatory for all following LSRC2 function calls.
    * @access public
    * @param string username
    * @param string password
    * @return string
    */
	public String getSessionKey(@JsonRpcParam("username") String username,@JsonRpcParam("password") String password);
	
	/**
    * Closes the RPC session
    *
    * @access public
    * @param string sessionKey
    * @return string
    */
	public String releaseSessionKey(@JsonRpcParam("sSessionKey") String sessionKey);
	
	public Object createUser(Map<String,String> params);
	
}
